import random

random_numbers = [random.randint(1, 100) for _ in range(1000)]
count_dict = {num: random_numbers.count(num) for num in set(random_numbers)}
print(count_dict)
